
function openwin() 
{openwindow=window.open("", "newwin", "height=250, width=250,toolbar=no,scrollbars="+scroll+",menubar=no"); 
openwindow.document.write("<title>例子</title>") 
openwindow.document.write("<body bgcolor=#ffffff>") 
openwindow.document.write("<h1>hello!</h1>") 
openwindow.document.write("new window opened!") 
openwindow.document.write("</body>") 
openwindow.document.write("</html>") 
openwindow.document.close()} 